home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / SOM / OpenDoc and SOM / IDL / WindowB.idl < prev    next >
Encoding:
Text File  |  1994-04-19  |  2.1 KB  |  115 lines  |  [TEXT/MPS ]

  1. //# Copyright:    © 1993-94 by Apple Computer, Inc., all rights reserved.
  2. #ifndef _WINDOWB_
  3. #define _WINDOWB_
  4.  
  5. #ifndef _REFCTOBJ_
  6. #include "RefCtObj.idl"
  7. #endif
  8.  
  9. //=====================================================================================
  10. // Classes defined in this interface
  11. //=====================================================================================
  12.  
  13. interface  ODBaseWindow;
  14.  
  15. //=====================================================================================
  16. // Classes used by this interface
  17. //=====================================================================================
  18.  
  19. interface  ODFacet;
  20. interface  ODFrame;
  21. interface  ODPart;
  22. interface  ODStorageUnit;
  23. interface  ODSession;
  24. interface  ODArbitrator;
  25. interface  ODDraft;
  26.  
  27. //=====================================================================================
  28. // ODBaseWindow
  29. //=====================================================================================
  30.  
  31. interface ODBaseWindow :  ODRefCntObject
  32. {
  33.     ODPlatformWindow GetPlatformWindow();
  34.   
  35.     ODFrame   GetSourceFrame();
  36.   
  37.      ODFrame   GetRootFrame();
  38.   
  39.        ODFacet  GetFacetUnderPoint(in ODPoint aPoint);
  40.   
  41.        ODBoolean IsActive();
  42.   
  43.        void Open();
  44.   
  45.        void Close();
  46.   
  47.        void CloseAndRemove();
  48.   
  49.        void Show();
  50.   
  51.        void Hide();
  52.   
  53.        ODBoolean IsShown();
  54.     
  55.        ODBoolean IsResizable();
  56.   
  57.        ODBoolean IsRootWindow();
  58.  
  59.        ODBoolean ShouldSave();
  60.     
  61.        void SetShouldSave(in ODBoolean shouldSave);
  62.     
  63.        ODBoolean ShouldShowLinks();
  64.     
  65.        void SetShouldShowLinks(in ODBoolean shouldShowLinks);
  66.  
  67.     void Resized();
  68.     
  69.     ODID  GetID();
  70.     
  71.     ODBoolean  IsFloating();
  72.     
  73.     ODFacet  GetRootFacet();
  74.  
  75.  
  76. #ifdef __SOMIDL__
  77.     implementation
  78.     {
  79.         override:
  80.             somInit,
  81.             somUninit,
  82.             Purge;
  83.             
  84.         releaseorder:
  85.             GetPlatformWindow,
  86.             GetSourceFrame,
  87.             GetRootFrame,
  88.             GetFacetUnderPoint,
  89.             IsActive,
  90.             Open,
  91.             Close,
  92.             CloseAndRemove,
  93.             Show,
  94.             Hide,
  95.             IsShown,
  96.             IsResizable,
  97.             IsRootWindow,
  98.             ShouldSave,
  99.             SetShouldSave,
  100.             ShouldShowLinks,
  101.             SetShouldShowLinks,
  102.             Resized,
  103.             GetID,
  104.             IsFloating,
  105.             GetRootFacet,
  106.             reserved1;
  107.  
  108.         majorversion = 1; minorversion = 0;
  109.         
  110.   };
  111. #endif
  112. };
  113.  
  114. #endif //# _WINDOWB_
  115.